package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `json:"username"`
	Password string `json:"password"`
}

type News struct {
	gorm.Model
	User      string `json:"user"`
	Newspaper string `json:"newspaper"`
	UserDz    string `json:"userDz"`
	UserGz    string `json:"userGz"`
}
